add_library(net STATIC
        connection.cpp
        connection.h
        tcp_connection.cpp
        tcp_connection.h
        tcp_server.cpp
        tcp_server.h
        message_codec.cpp
        message_codec.h
        tcp_client.cpp
        tcp_client.h
        udp_server.cpp
        udp_server.h
        udp_client.cpp
        udp_client.h
        kcp_server.cpp
        kcp_server.h
        kcp_client.cpp
        kcp_client.h
)

target_link_libraries(net PRIVATE
        kcp::kcp
        Boost::asio
        Boost::system
)